package com.frank.disruptor;

/**
 * Created by zhy on 2017/5/16.
 */

import com.lmax.disruptor.EventHandler;

/**
 */
public class LongEventHandler implements EventHandler<LongEvent> {

    public void onEvent(LongEvent longEvent, long l, boolean b) throws Exception {
        System.out.println(longEvent.getValue());
    }

}
